package Book;
//书架
public class BookList {
    private Book[] books=new Book[10];
    private int usedSize;//用来记录当前存放了多少书

    public BookList(){
        books[0]=new Book("三国演义","罗贯中",10,"小说");
        books[1]=new Book("西游记","吴承恩",50,"小说");
        books[2]=new Book("红楼梦","曹雪芹",55,"小说");
        this.usedSize=3;

    }
}
